package cn.ssm.test.model;

public class User {    
    private Integer id;    
    
    private String name;    
    
    private Integer age;
    
    private String password;    
    
    
    
    public User() {
		super();
	}

	public User(Integer id, String name, Integer age, String password) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
		this.password = password;
	}

	public Integer getId() {    
        return id;    
    }    
    
    public void setId(Integer id) {    
        this.id = id;    
    }    
    
    public String getName() {    
        return name;    
    }    
    
    public void setName(String name) {    
        this.name = name;    
    }    
    
    public String getPassword() {    
        return password;    
    }    
    
    public void setPassword(String password) {    
        this.password = password == null ? null : password.trim();    
    }

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}    
    
    
}    
